100
|
How can I change the background color for parts of the text

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "<bgcolor=FF0000>new</bgcolor> caption");
|
99
|
How can I change the foreground color for parts of the text

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "<fgcolor=FF0000>new</fgcolor> caption");
|
98
|
How can I show the node as strikeout

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "<s>new</s> caption");
|
97
|
How can I show the node as underlined

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "<u>new</u> caption");
|
96
|
How can I show the node as italic

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "<i>new</i> caption");
|
95
|
How can I bold the node

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "<b>new</b> caption");
|
94
|
How can I change the node's caption

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child") , "Caption", "new caption");
|
93
|
How can I display hierarchical the child nodes so they are indented relative to their parents

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HasButtons", -1);
_ObjectSetProperty( chartview , "PenLink", 0);
_ObjectSetProperty( chartview , "PenWidthLink", 3);
_ObjectSetProperty( chartview , "IndentSiblingX", 12);
_ObjectSetProperty( chartview , "IndentSiblingY", 12);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "As <b>Tree</b>","","1234") , "ArrangeSiblingNodesAs", 2);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234","456");
_ObjectCallMethod( nodes , "Add", "Item 1","456");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Item 2","456","78") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Item 2.1","78");
_ObjectCallMethod( nodes , "Add", "Item 2.2","78");
_ObjectCallMethod( nodes , "Add", "Item 3","456");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "As <b>Default</b>","","AA");
_ObjectCallMethod( nodes , "Add", "Item 1","AA");
_ObjectCallMethod( nodes , "Add", "Item 2","AA","BB");
_ObjectCallMethod( nodes , "Add", "Item 2.1","BB");
_ObjectCallMethod( nodes , "Add", "Item 2.2","BB");
_ObjectCallMethod( nodes , "Add", "Item 2.3","BB");
_ObjectCallMethod( nodes , "Add", "Item 3","AA");
|
92
|
How can I display the child nodes as a tree, so they are indented relative to their parents

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "IndentSiblingY", 4);
_ObjectSetProperty( chartview , "HasButtons", -1);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectSetProperty( node , "ArrangeSiblingNodesAs", 2);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child 1","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234","456");
_ObjectCallMethod( nodes , "Add", "Item 1","456");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Item 2","456","78") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Item 2.1","78");
_ObjectCallMethod( nodes , "Add", "Item 2.2","78");
_ObjectCallMethod( nodes , "Add", "Item 3","456");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child 2");
|
91
|
How can I indent the child nodes relative to their parents

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "IndentChild", 32);
_ObjectSetProperty( chartview , "HasButtons", -1);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "AsTree","","1234") , "ArrangeSiblingNodesAs", 2);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234","456");
_ObjectCallMethod( nodes , "Add", "Item 1","456");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Item 2","456","78") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Item 2.1","78");
_ObjectCallMethod( nodes , "Add", "Item 2.2","78");
_ObjectCallMethod( nodes , "Add", "Item 3","456");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child 2","","AA");
_ObjectCallMethod( nodes , "Add", 1,"AA");
_ObjectCallMethod( nodes , "Add", 2,"AA","BB");
_ObjectCallMethod( nodes , "Add", "2.1","BB");
_ObjectCallMethod( nodes , "Add", "2.2","BB");
_ObjectCallMethod( nodes , "Add", 3,"AA");
|
90
|
How can I increase the distance between nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "IndentSiblingY", 64);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "<a1>Link 1</a>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub <a1>Link 1</a>","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "<a2>Link 2</a>");
|
89
|
How can I increase the distance between nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "IndentSiblingX", 64);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "<a1>Link 1</a>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub <a1>Link 1</a>","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "<a2>Link 2</a>");
|
88
|
How can I add an anchor or a hyperlink

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "<a1>Link 1</a>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub <a1>Link 1</a>","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "<a2>Link 2</a>");
|
87
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "FormatAnchor(False) = `<u><fgcolor=880000> </fgcolor></u>`");
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "<a1>Link 1</a>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub <a1>Link 1</a>","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "<a2>Link 2</a>");
|
86
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "FormatAnchor(True) = `<u><fgcolor=FF0000> </fgcolor></u>`");
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "<a1>Link 1</a>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub <a1>Link 1</a>","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "<a2>Link 2</a>");
|
85
|
How can I save data in XML format
|
84
|
Can I load data from XML files
|
83
|
How can I assign multiple icons to a node

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( chartview , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
_ObjectCallMethod(chartview, "ExecuteTemplate", "HTMLPicture(`pic1`) = `c:\exontrol\images\zipdisk.gif`");
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Sub 1","1234") , "Caption", "<img>1</img> text <img>2</img> and so on<br>bla <b>bla</b> left<r><img>3</img>");
node = _ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectSetProperty( node , "Caption", "<img>pic1</img> text <img>1:6</img><img>1:6</img><img>1</img> <img>2</img>");
_ObjectSetProperty( node , "FixedWidth", 124);
_ObjectSetProperty( node , "FixedHeight", 48);
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
82
|
How can I assign multiple pictures to a node

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "HTMLPicture(`pic1`) = `c:\exontrol\images\zipdisk.gif`");
_ObjectCallMethod(chartview, "ExecuteTemplate", "HTMLPicture(`pic2`) = `c:\exontrol\images\auction.gif`");
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
node = _ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectSetProperty( node , "Caption", "<img>pic1</img> text <img>pic2</img>");
_ObjectSetProperty( node , "FixedWidth", 108);
_ObjectSetProperty( node , "FixedHeight", 48);
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
81
|
How can I change the color of the line that links assistant nodes

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "LinkAssistantColor", 255);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
80
|
How can I change the width of the line that links assistant nodes

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "PenLinkAssistant", 0);
_ObjectSetProperty( chartview , "PenWidthLinkAssistant", 4);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
79
|
How can I change the style of the line that links assistant nodes

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "PenLinkAssistant", 4);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
78
|
How can I change the shape of the cursor when it hovers the +/- or expand/collapse buttons

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "Cursor(3) = `exHelp`");
_ObjectSetProperty( chartview , "HasButtons", -1);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
77
|
How do I change the shape of the cursor when the user clicks an drags the chart

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "Cursor(2) = `exHelp`");
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
76
|
How do I change the shape of the cursor when it hovers a node

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "Cursor(1) = `exHelp`");
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
75
|
How do I change the shape of the cursor when it hovers the chart

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "Cursor(0) = `exHelp`");
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
74
|
How can I copy and paste the control's content to Microsoft Word for instance

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HasButtons", -1);
_ObjectSetProperty( chartview , "PenLink", 0);
_ObjectSetProperty( chartview , "PenWidthLink", 3);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
73
|
How can I copy and paste the control's content to Microsoft Word for instance

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HasButtons", -1);
_ObjectSetProperty( chartview , "ButtonsAlign", 18);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
72
|
How can I enable or disable expanding or collapsing a node when user double clicks it

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ExpandOnDblClk", 0);
_ObjectSetProperty( chartview , "HasButtons", -1);
_ObjectSetProperty( chartview , "ButtonsAlign", 18);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
71
|
How can I align the +/- expand or collapse buttons to the right

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HasButtons", -1);
_ObjectSetProperty( chartview , "ButtonsAlign", 18);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
70
|
Can I display the +/- expand or collapse buttons using your EBN files

OBJECT appearance,chartview,node,nodes;
chartview = ObjectByName("AN1") ;
appearance = _ObjectGetProperty( chartview , "VisualAppearance");
_ObjectCallMethod( appearance , "Add", 11,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( appearance , "Add", 22,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( appearance , "Add", 1,"CP:11 2 2 -2 -2");
_ObjectCallMethod( appearance , "Add", 2,"CP:22 2 2 -2 -2");
_ObjectSetProperty( chartview , "HasButtons", 4);
_ObjectCallMethod(chartview, "ExecuteTemplate", "HasButtonsCustom(True) = 33554432");
_ObjectCallMethod(chartview, "ExecuteTemplate", "HasButtonsCustom(False) = 16777216");
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
69
|
How can I change the +/- expand or collapse buttons

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( chartview , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
_ObjectSetProperty( chartview , "HasButtons", 4);
_ObjectCallMethod(chartview, "ExecuteTemplate", "HasButtonsCustom(True) = 1");
_ObjectCallMethod(chartview, "ExecuteTemplate", "HasButtonsCustom(False) = 2");
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
68
|
How can I change the +/- expand or collapse buttons

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HasButtons", 2);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
67
|
How can I display +/- expand or collapse buttons

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HasButtons", -1);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectSetProperty( _ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234") , "Expanded", 0);
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
66
|
How do I show or hide the assistant nodes

OBJECT chartview,node,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ShowAssistants", -1);
node = _ObjectGetProperty( chartview , "Root");
_ObjectSetProperty( node , "Image", 0);
_ObjectCallMethod( node , "AddAssistant", "Assistant 1");
_ObjectCallMethod( node , "AddAssistant", "Assistant 2");
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
65
|
How do I scale or zoom the chart

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "BorderWidth", 18);
_ObjectSetProperty( chartview , "BorderHeight", 18);
_ObjectSetProperty( chartview , "ZoomWidthMode", 1);
_ObjectSetProperty( chartview , "ZoomHeightMode", 1);
_ObjectSetProperty( chartview , "ZoomWidth", 2);
_ObjectSetProperty( chartview , "ZoomHeight", 2);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
64
|
How do I scale or zoom the chart

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "BorderWidth", 18);
_ObjectSetProperty( chartview , "BorderHeight", 18);
_ObjectSetProperty( chartview , "ZoomWidthMode", 2);
_ObjectSetProperty( chartview , "ZoomHeightMode", 2);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
63
|
How can I ensure that the selected node is visible or fits the chart's area

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "EnsureVisibleOnSelect", -1);
_ObjectSetProperty( chartview , "ScrollOnEnsure", 0);
_ObjectSetProperty( chartview , "BorderWidth", 18);
_ObjectSetProperty( chartview , "BorderHeight", 18);
_ObjectSetProperty( chartview , "ZoomWidthMode", 1);
_ObjectSetProperty( chartview , "ZoomHeightMode", 1);
_ObjectSetProperty( chartview , "ZoomWidth", 2);
_ObjectSetProperty( chartview , "ZoomHeight", 2);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Sub 3","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
62
|
How do I avoid slow moving the chart when the user selects a new node

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ScrollByClick", 0);
|
61
|
How do I ensure that a node is visible or fits the chart's area

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
_ObjectCallMethod( chartview , "EnsureVisibleNode", "1234");
|
60
|
How do I change the root node, so it explore from a specified node

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Sub 1","1234");
_ObjectCallMethod( nodes , "Add", "Sub 2","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
_ObjectSetProperty( chartview , "ExploreFromNode", "1234");
|
59
|
How do I select a node

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>","","1234");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
_ObjectSetProperty( chartview , "SelectNode", "1234");
_ObjectSetProperty( chartview , "HideSelection", 0);
|
58
|
How do I get the node from the cursor
|
57
|
How do I fix the height for all nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "FixedHeightNode", 32);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
56
|
How do I fix the width for all nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "FixedWidthNode", 128);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Image", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
55
|
How do I change the style of the link between nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "PenLink", 1);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
54
|
How do I change the color to link the nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "LinkColor", 255);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
53
|
How do I change the shape for selected node, using your EBN files

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectSetProperty( chartview , "SelColor", 33554432);
_ObjectSetProperty( chartview , "SelectNode", "root");
_ObjectSetProperty( chartview , "HideSelection", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
52
|
How do I change the color for selected node

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "SelColor", 16711680);
_ObjectSetProperty( chartview , "SelectNode", "root");
_ObjectSetProperty( chartview , "HideSelection", 0);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
51
|
How do I hide the node's shadow

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ShadowNode", 0);
|
50
|
How do I change the pen to draw the border for all nodes

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "PenBorderNode", 2);
|
49
|
How do I change the shape of the border for all nodes

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(0) = 33554432");
|
48
|
How do I change the shape of the border for all nodes

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "DrawRoundNode", 0);
|
47
|
How do I change the foreground color for all nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ForeColorNode", 255);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
46
|
How do I change the background color for all nodes

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "BackColorNode", 255);
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
45
|
How do I change the key of the root

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Key", "myKey");
|
44
|
How do I change the caption of the root

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Caption", "new<br>root");
|
43
|
How do I access the root node

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "Caption", "new<br>root");
|
42
|
How do I access the nodes collection

OBJECT chartview,nodes;
chartview = ObjectByName("AN1") ;
nodes = _ObjectGetProperty( chartview , "Nodes");
_ObjectCallMethod( nodes , "Add", "Child <b>1</b>");
_ObjectCallMethod( nodes , "Add", "Child <b>2</b>");
|
41
|
How do I refresh the control

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child <b>1</b>");
_ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child <b>2</b>");
_ObjectCallMethod( chartview , "Refresh");
|
40
|
How do I prevent painting while several changes are performed

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( chartview , "BeginUpdate");
_ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child <b>1</b>");
_ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child <b>2</b>");
_ObjectCallMethod( chartview , "EndUpdate");
|
39
|
How do I indent the full chart to the right

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "BorderWidth", 8);
_ObjectSetProperty( chartview , "BorderHeight", 8);
|
38
|
How can I change the node's border/frame, using your EBN files

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(0) = 16777216");
_ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child <b>1</b>");
_ObjectCallMethod( _ObjectGetProperty( chartview , "Nodes") , "Add", "Child <b>2</b>");
|
37
|
How can still display the selected node when the control loses the focus

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "HideSelection", 0);
|
36
|
How do I disable or enable the control
OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Enabled", 0);
|
35
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 3,"c:\exontrol\images\hot.ebn");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(388) = 16777216");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(389) = 33554432");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(391) = 50331648");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(260) = 16777216");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(261) = 33554432");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(263) = 50331648");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
34
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 3,"c:\exontrol\images\hot.ebn");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(388) = 16777216");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(389) = 33554432");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(391) = 50331648");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollThumbSize(1) = 96");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
33
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 3,"c:\exontrol\images\hot.ebn");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(324) = 16777216");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(325) = 33554432");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(327) = 50331648");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(404) = 15790320");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(276) = 15790320");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(3) = 15790320");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
32
|
Can I change the forecolor for the tooltip

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipDelay", 1);
_ObjectSetProperty( chartview , "ToolTipWidth", 364);
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(66) = 255");
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
31
|
Can I change the background color for the tooltip

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipDelay", 1);
_ObjectSetProperty( chartview , "ToolTipWidth", 364);
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(65) = 255");
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
30
|
Can I change the default border of the tooltip, using your EBN files

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipDelay", 1);
_ObjectSetProperty( chartview , "ToolTipWidth", 364);
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(chartview, "ExecuteTemplate", "Background(64) = 16777216");
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
29
|
How do I call your x-script language

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( chartview , "ExecuteTemplate", "BackColor = RGB(255,0,0)");
|
28
|
How do I call your x-script language

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Template", "BackColor = RGB(255,0,0)");
|
27
|
Can I change the font for the tooltip

OBJECT chartview,stdfont;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipDelay", 1);
stdfont = _ObjectGetProperty( chartview , "ToolTipFont");
_ObjectSetProperty( stdfont , "Name", "Tahoma");
_ObjectSetProperty( stdfont , "Size", 14);
_ObjectSetProperty( chartview , "ToolTipWidth", 364);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
26
|
I've seen that the width of the tooltip is variable. Can I make it larger

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipWidth", 328);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
25
|
How do I let the tooltip being displayed longer

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipPopDelay", 10000);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
24
|
How do I disable showing the tooltip for all control
OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipDelay", 0);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
23
|
How do I show the tooltip quicker

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ToolTipDelay", 1);
_ObjectSetProperty( _ObjectGetProperty( chartview , "Root") , "ToolTip", "This is a bit of text that's shown when the cursor hovers the node.");
|
22
|
Can I change the order of the buttons in the scroll bar

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollOrderParts(1) = `t,l,r`");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollOrderParts(0) = `t,l,r`");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
21
|
The thumb size seems to be very small. Can I make it bigger

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollThumbSize(1) = 164");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
20
|
How do I enlarge or change the size of the control's scrollbars

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ScrollHeight", 18);
_ObjectSetProperty( chartview , "ScrollWidth", 18);
_ObjectSetProperty( chartview , "ScrollButtonWidth", 18);
_ObjectSetProperty( chartview , "ScrollButtonHeight", 18);
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
_ObjectSetProperty( chartview , "FixedHeightNode", 320);
|
19
|
How can I display my text on the scroll bar, using a different font

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartCaption(1,256) = `This is just a text`");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollFont(1).Size = 12");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollThumbSize(1) = 128");
_ObjectSetProperty( chartview , "ScrollHeight", 24);
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartCaption(1,256) = `This is <s><font Tahoma;12> just </font></s> text`");
_ObjectSetProperty( chartview , "ScrollHeight", 20);
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
18
|
How can I display my text on the scroll bar

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartCaption(1,256) = `this is just a text`");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollThumbSize(1) = 96");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
17
|
How do I assign a tooltip to a scrollbar

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollToolTip(1) = `This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar`");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
16
|
How do I assign an icon to the button in the scrollbar

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( chartview , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartCaption(1,32768) = `<img>1</img>`");
_ObjectSetProperty( chartview , "ScrollHeight", 18);
_ObjectSetProperty( chartview , "ScrollButtonWidth", 18);
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
15
|
I need to add a button in the scroll bar. Is this possible

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartCaption(1,32768) = `1`");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
14
|
Can I display an additional buttons in the scroll bar

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartVisible(1,16384) = True");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartVisible(1,1) = True");
_ObjectCallMethod(chartview, "ExecuteTemplate", "ScrollPartVisible(1,2) = True");
_ObjectSetProperty( chartview , "FixedWidthNode", 320);
|
13
|
How do I change the control's foreground color

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "ForeColor", 255);
|
12
|
How do I change the control's background color

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "BackColor", 13158600);
|
11
|
How can I change the control's font

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( chartview , "Font") , "Name", "Verdana");
_ObjectCallMethod( chartview , "Refresh");
|
10
|
How do I put a picture on the center of the control

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 17);
|
9
|
How do I resize/stretch a picture on the control's background

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 49);
|
8
|
How do I put a picture on the control's center right bottom side

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 34);
|
7
|
How do I put a picture on the control's center left bottom side

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 32);
|
6
|
How do I put a picture on the control's center top side

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 1);
|
5
|
How do I put a picture on the control's right top corner

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 2);
|
4
|
How do I put a picture on the control's left top corner

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( chartview , "PictureDisplay", 0);
|
3
|
How do I put a picture on the control's background

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Picture", _ObjectCallMethod( chartview , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
|
2
|
How do I change the control's border, using your EBN files

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( chartview , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectSetProperty( chartview , "Appearance", 16777216);
|
1
|
How do I remove the control's border

OBJECT chartview;
chartview = ObjectByName("AN1") ;
_ObjectSetProperty( chartview , "Appearance", 0);
|